<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>卡片布局 案例1</title>
		<style>
			/* css 样式思路：1.通配选择器：微软雅黑、#f5f5f5 外边距至0
			                2.#product_card:内边距、外边距、阴影[透明度.1].文字居中
							3.img：边框倒角、内外边距【微调】
							4.h3：颜色、内外边距【微调】
							5.p：字体大小
							6.p+span：span、内外边距【微调】、颜色
			 */
			*{
				font-family: ;
				background: #f5f5ff;
				margin: 0px;
			}
			div#product_card{
				background: white;
				border-radius: 5px;
				padding: 15px 15px 15px 15px;
				margin: 40px;
				box-shadow: 1px 1px 4px 2px #c3c3c3;
				
			}
			img{
				border-radius: 5px;
			}
			h3{
				background: white;
				color: #000;
				text-align: center;
				
			}
			p#price{
				background: white;
				color: #f91d00;
				text-align: center;
			}
			p#had{
				background: white;
				color: #8a8a8a;
				text-align: center;
			}
			p>span{
				background: white;
				color: #8a8a8a;
				text-align: center;
			}
			div#sou{
				border: 1px solid gainsboro;
				padding: 10px;
				padding: 10px;
				padding: 10px;
				padding: 10px;
				border-width: 2px;
				box-shadow: 1px 1px 4px 2px #c3c3c3;
				border-radius: 5px;
			}
			span#qian{
				color: gray;
			}
			span#hou{
				margin-left: 150px;
				margin-top: -25px;
				width: 100px;
				height: 20px;
				background-color: red;
				border-radius: 5px;
				color: white;
			}
		</style>
	</head>
	<body>
		<!-- 网页：1.html 结构【原生图分析】 -->
		<div id="product_card">
			<img src="img/小米su7.jpg" width="210px" height="280px" alt="小米su7">
			<h3>小米SU7</h3>
			<p id="price">￥279999.00</p>
			<p id="had">已有<span>   10万+   </span>评价</p>
		</div>
		<div id="sou">
			<span id="qian">搜索 京东商品</span>
			<span id="hou">搜索</span>
		</div>
	</body>
</html>